home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-02-25 | 629 b | 15 lines | [TEXT/DOCS] |
-
- Verb file.fileFromPath
- Syntax file.fileFromPath (path)
- Parameters path is a legal path name to the file or folder whose name you wish to determine.
- Action Extracts the file name from the path.
- Returns The name of the object at path as a string.
- Examples file.fileFromPath ("System:System Folder:Finder")
- » Finder
- file.fileFromPath ("System:System Folder:")
- » System Folder: « path is a folder.
- Notes • file.fileFromPath returns the last name in the path. There is no guarantee that the item exists.
- • If a folder path is provided, file.fileFromPath returns the folder name.
- See Also file.folderFromPath
- file.volumeFromPath
-